package com.zhiwei.codesecurity.service.users;
import com.zhiwei.codesecurity.common.base.NullObjectResp;
import com.zhiwei.codesecurity.common.base.ServiceResponse;
import com.zhiwei.codesecurity.entity.Users;
import com.zhiwei.codesecurity.service.users.request.CheckLoginReq;
import com.zhiwei.codesecurity.service.users.request.LoginOutReq;
import com.zhiwei.codesecurity.service.users.request.LoginServReq;
import com.zhiwei.codesecurity.service.users.response.AddUserServRlt;
import com.zhiwei.codesecurity.service.users.response.LoginRlt;
import com.zhiwei.codesecurity.service.users.response.QueryUserServRlt;

public interface IUserService {

    ServiceResponse<AddUserServRlt> addUser(Users users);

    ServiceResponse<NullObjectResp> modifyUser(Users users);

    ServiceResponse<QueryUserServRlt> queryUser(String userId);

    ServiceResponse<NullObjectResp> deleteUser(String userid);

    ServiceResponse<LoginRlt> doLogin(LoginServReq loginServReq);

    ServiceResponse<Boolean> doIsLogin(CheckLoginReq checkLoginReq);

    ServiceResponse<NullObjectResp> doLogout(LoginOutReq loginOutReq);

}
